// Sound.cpp : implementation file
//

#include "stdafx.h"
#include "EventNotify.h"
#include "Sound.h"


IMPLEMENT_SERIAL(CSound, CObject, 1);

// CSound

CSound::CSound()
	: m_iSoundID(0)
	, m_strName(_T(""))
	, m_strPath(_T(""))
{
}

CSound::~CSound()
{
}


// CSound member functions


void CSound::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{	// storing code
		ar << m_iSoundID << m_strName << m_strPath;
	}
	else
	{	// loading code
		ar >> m_iSoundID >> m_strName >> m_strPath;
	}
}
